<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Expires" content="-1" />
    <meta http-equiv="pragram" content="no-cache" />
    <meta name="referrer" content="unsafe-url">
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <meta name="full-screen" content="yes">
    <meta name="x5-fullscreen" content="true">
    <title></title>
	<link rel="stylesheet" type="text/css" href="css/index.css?v=1"/>
	<script src="js/flexible.js?v=888888" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="./js/aes.js"></script>

    <script type="text/javascript">

		var pkg ='com.motion.run';
		var page ='Page_integral';
		var web_id = getQueryVariable('baidu_statistics_id');
		var automatic = 1;
		var autocookie = 1;
		var link_id = getQueryVariable('s_link_id');
		var qd_id =30;
        var time = ~~getQueryVariable('time');

        var paramsData = {}
		paramsData['event_type'] = getQueryVariable('event_type') || 'page_view';
		paramsData['reporting_name'] = getQueryVariable('reporting_name');


        function getQueryParams() {
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] != 'page' && pair[0] != 'pkg' && pair[0] != 'automatic' && pair[0] != 'autocookie' && pair[0] != 'web_id' && pair[0] != 'time') {
                    paramsData[`${pair[0]}`] = decodeURIComponent(pair[1])
                }
            }
        }

        function StrToHex(str) {
            var val = "";
            for (var i = 0; i < str.length; i++) {
                val += "%" + str.charCodeAt(i).toString(16);
            }
            return val;
        }

        function HexToStr(str) {
            var reg = /\%([0-9a-zA-Z]{2})/g
            var newStr = str
            while (res = reg.exec(str)) {
                newStr = newStr.replace(res[0], String.fromCharCode(parseInt(res[1], 16)))
            }
            return newStr
        }

        getQueryParams()

        var id = getQueryVariable('id');
        var url = getQueryVariable('url');

        var appInfo = {
            cname: "",
            short: "",
            cpm: ""
        }

        // if (!page) {
        //     page = "Qd";
        // }
		//
        // if (!qd_id) {
        //     qd_id = getQueryVariable('qd_id') || 30;
        // }
        if (!link_id) {
            link_id = getQueryVariable('link_id') || 88;
        }
        // if (!pkg) {
        //     pkg = 'com.hskj.zhe'
        // }
		//
        // if (pkg == 'com.vv.binguo' || pkg == 'com.vv.yiguo') {
        //     if (page == 'pages/games') {
        //         page = 'pages/activity'
        //     }
        // }
		//
        // if (window.location.hostname == 'dpldy.youguogo.com') {
        //     pkg = 'com.ss.happy'
        //     page = 'pages/landing'
        // }


        var referer = 'toutiao';
        var type = 2;
        var ua = navigator.userAgent.toLowerCase();
        var date = GetDate();
        //加密id
        paramsData['uniqueid'] = genuniqueid()
        paramsData['uniqueId'] = genAESUniqueId()

        var model = get_build(ua);
        var factorystr = factory(ua);

        var is_feedback = getCookie("is_feedback") == 1 ? 1 : 0;


        !(function () {
            'use strict'
            var o = navigator.userAgent.toLowerCase()
            function a(e, n) {
                for (var t in (n = n || {})) e[t] = n[t]
                return e
            }
            function d(e, n, t) {
                var o = document.createElement('iframe'),
                    e = 'hwfastapp://' + e
                n && (e = e + '/' + n),
                    t &&
                    0 < Object.keys(t).length &&
                    (e =
                        e +
                        '?' +
                        (t = Object.keys(t)
                            .map(function (e) {
                                return e + '=' + encodeURIComponent(t[e])
                            })
                            .join('&'))),
                    (o.src = e),
                    document.body.appendChild(o),
                    (o.style.display = 'none')
            }
            function e(e) {
                var n = {
                    available: new Function()
                }
                'function' == typeof e ? (n.available = e) : 'object' == typeof e && a(n, e)
                var t = !1,
                    o = n.available;
                (n.available = function () {
                    t || ((t = !0), o.apply(null, arguments))
                }),
                    n.available.call(null, !0)
            }
            function n(e, n, t) {
                var o, a, i, r, c, u;
                !(function () {
                    var e = navigator.userAgent
                    if (e) {
                        if (0 <= (e = e.toLowerCase()).indexOf('huaweibrowser')) return
                        var n = e.indexOf('android'),
                            t = e.indexOf('huawei')
                        if ((t < 0 && (t = e.indexOf('honor')), 0 <= n && 0 <= t)) {
                            t = e.slice(n + 8, n + 9)
                            if (8 <= t) return 1
                            if ((t = e.slice(n + 8, n + 10)) && t.indexOf(';') < 0 && 10 <= t)
                                return 1
                        }
                    }
                })() ?
                    d(e, n, t) :
                    ((o = e),
                        (a = n),
                        (i = t = t || {}),
                        (r = ''),
                        (c =
                            (c = 'http://fastappjump-drcn.hispace.dbankcloud.cn/fastapprouter/') +
                            new Date().getTime() +
                            '/'),
                        a && 0 === a.indexOf('/') && (a = 1 === a.length ? '' : a.substr(1)),
                        o && (c = c + '?i=' + o),
                        a && (c = c + '&p=' + a),
                        (function () {
                            if (!i) return 1
                            var e = void 0
                            for (e in i) return
                            return 1
                        })() ?
                            -1 < (a = window.location.search).indexOf('?') && (r = a.substr(1)) :
                            (r = Object.keys(i)
                                .map(function (e) {
                                    return e + '=' + encodeURIComponent(i[e])
                                })
                                .join('&')),
                        '' !== r && (c = c + '&a=' + encodeURIComponent(r)),
                        ((r = document.createElement('img')).src = c),
                        (r.style.width = '1px'),
                        (r.style.height = '1px'),
                        (r.style.display = 'none'),
                        document.body.appendChild(r),
                        (function () {
                            var e = navigator.userAgent
                            if (e) {
                                var n = (e = e.toLowerCase()).indexOf('android'),
                                    t = e.indexOf('huawei')
                                if ((t < 0 && (t = e.indexOf('honor')), 0 <= n && 0 <= t)) {
                                    t = e.slice(n + 8, n + 9)
                                    if (9 <= t) return
                                    if ((t = e.slice(n + 8, n + 10)) && t.indexOf(';') < 0 && 10 <= t)
                                        return
                                }
                            }
                            return 1
                        })() &&
                        ((u = new Date()),
                            setTimeout(function () {
                                new Date() - u <= 830 && d(e, n, t)
                            }, 800)))
            }
            var i =
                ('undefined' != typeof crypto &&
                    crypto.getRandomValues &&
                    crypto.getRandomValues.bind(crypto)) ||
                ('undefined' != typeof msCrypto &&
                    'function' == typeof msCrypto.getRandomValues &&
                    msCrypto.getRandomValues.bind(msCrypto)),
                r = new Uint8Array(16)
            var t =
                /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i
            for (var c = [], u = 0; u < 256; ++u) c.push((u + 256).toString(16).substr(1))
            function l(e, n) {
                ;
                (n = 1 < arguments.length && void 0 !== n ? n : 0),
                    (e = (
                        c[e[n + 0]] +
                        c[e[n + 1]] +
                        c[e[n + 2]] +
                        c[e[n + 3]] +
                        '-' +
                        c[e[n + 4]] +
                        c[e[n + 5]] +
                        '-' +
                        c[e[n + 6]] +
                        c[e[n + 7]] +
                        '-' +
                        c[e[n + 8]] +
                        c[e[n + 9]] +
                        '-' +
                        c[e[n + 10]] +
                        c[e[n + 11]] +
                        c[e[n + 12]] +
                        c[e[n + 13]] +
                        c[e[n + 14]] +
                        c[e[n + 15]]
                    ).toLowerCase())
                if ('string' != typeof (n = e) || !t.test(n))
                    throw TypeError('Stringified UUID is invalid')
                return e
            }
            function s(e, n, t) {
                var o =
                    (e = e || {}).random ||
                    (e.rng ||
                        function () {
                            if (!i)
                                throw new Error(
                                    'crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported'
                                )
                            return i(r)
                        })()
                if (((o[6] = (15 & o[6]) | 64), (o[8] = (63 & o[8]) | 128), n)) {
                    t = t || 0
                    for (var a = 0; a < 16; ++a) n[t + a] = o[a]
                    return n
                }
                return l(o)
            }
            function f(e) {
                e = +(e.match(/.*Android (\d+).*/i) || [])[1]
                return !isNaN(e) && e < 10
            }
            function p(e) {
                e = +(e.match(/.*Android (\d+).*/i) || [])[1]
                return !isNaN(e) && 10 <= e
            }
            function m(e) {
                return 1 < (e.match(/.*(iPhone|iPad|Mac OS).*/i) || []).length
            }
            function h(e) {
                return 1 < (e.match(/.*(xiaomi|redmi|mix|mi\s).*/i) || []).length
            }
            function v(e, n, t, o) {
                var a = e,
                    i = ''
                n && (a = a + '?i=' + n),
                    t && (a = a + '&p=' + t),
                    (a += '&random=' + Math.random()),
                    !(function (e) {
                        if (!e) return 1
                        var n = void 0
                        for (n in e) return
                        return 1
                    })(o) ?
                        (i = Object.keys(o)
                            .map(function (e) {
                                return e + '=' + encodeURIComponent(o[e])
                            })
                            .join('&')) :
                        -1 < (e = window.location.search).indexOf('?') && (i = e.substr(1))
                var r,
                    c,
                    u,
                    d = (d = navigator.userAgent).toLowerCase(),
                    l =
                        0 <
                        (
                            d.match(/(?:vivo|iqoo|v\d{4}(a|t|ba|ca|bt|ct|et|ea|ga|dt|da|a0))/i) || []
                        ).length,
                    t = h(d);
                (l || t) &&
                    ((t = (e = (function () {
                        var n = '',
                            t = !0
                        try {
                            n = top.location.href
                        } catch (e) {
                            try {
                                var o = window.location.ancestorOrigins
                                n = o[o.length - 1]
                            } catch (e) {
                                ;
                                (n = document.referrer), (t = !1)
                            }
                        }
                        return {
                            url: n,
                            isTopUrl: t
                        }
                    })()).url),
                        (e = e.isTopUrl)),
                    '' !== i && (a = a + '&a=' + encodeURIComponent(i)),
                    l ?
                        ((r = n),
                            (c = d),
                            (u = function () {
                                y(a)
                            }),
                            ((d = document.createElement('script')).type = 'text/javascript'),
                            document.body.appendChild(d),
                            (d.src = 'https://h5sdk.vivo.com.cn/vivo-h5-sdk.js'),
                            (d.onload = function () {
                                vTgSDK.onError(function (e) {
                                    u()
                                }),
                                    vTgSDK.config({
                                        appId: '144'
                                    })
                                var e = [{
                                    data: {
                                        appId: '144',
                                        duration: '0',
                                        event_id: '00002|144',
                                        params: {
                                            rpk_name: r,
                                            user_agent: c
                                        }
                                    },
                                    successFn: function () {
                                        u()
                                    },
                                    errorFn: function () {
                                        u()
                                    }
                                }]
                                vTgSDK.push(e), vTgSDK.clear()
                            }),
                            (d.onerror = function () {
                                u()
                            })) :
                        y(a)
            }
            function g(e, n) {
                var t,
                    o = document.createElement('img');
                (o.style.width = '1px'),
                    (o.style.height = '1px'),
                    (o.style.display = 'none'),
                    (e += '/' + 1e20 * Math.random()),
                    (o.src = e),
                    document.body.appendChild(o),
                    (n = a({
                        availableTimeout: 2e3
                    }, n)),
                    o.complete ?
                        n.available.call(null, !0) :
                        ((o.onload = function () {
                            clearTimeout(t), n.available.call(null, !0)
                        }),
                            (t = setTimeout(function () {
                                n.available.call(null, !1)
                            }, n.availableTimeout)))
            }
            function y(e) {
                // var ua = navigator.userAgent.toLowerCase();
                // if (ua.indexOf("mqqbrowser") > -1) {
                //     e = "https://dp.hdyxc.com:1111/index/index?the_url=" + encodeURIComponent(e);
                // }
                var n = document.createElement('img');
                (n.src = e),
                    (n.style.width = '1px'),
                    (n.style.height = '1px'),
                    (n.style.display = 'none'),
                    document.body.appendChild(n)
            }
            function b(e, n, t) {
                var o = navigator.userAgent
                h(o) && (t.__xiaomi_session__ = s()),
                    m(o) ?
                        console.debug('Detect device: Apple device;') :
                        f(o) ?
                            (console.debug('Detect device: Below Android Q;'),
                                v('http://thefatherofsalmon.com', e, n, t),
                                h(o) && v('http://v2.thefatherofsalmon.com', e, n, t)) :
                            (p(o) ?
                                console.debug('Detect device: Greater and equal than Android Q;') :
                                console.debug('Detect device: None match;'),
                                v('http://thefatherofsalmon.com', e, n, t),
                                v('http://v2.thefatherofsalmon.com', e, n, t))
            }
            function w(e, n, t, o) {
                return (
                    (t = t || {}), o && ((t.__PROMPT__ = 1), (t.__NAME__ = o)), b(e, n, t)
                )
            }
            function x(e, n) {
                return b('command', '', {
                    type: 'shortcut',
                    package: e,
                    name: n
                })
            }
            function O(e) {
                var n = {
                    available: new Function()
                }
                'function' == typeof e ? (n.available = e) : 'object' == typeof e && a(n, e)
                var t = !1,
                    o = n.available
                return (
                    (n.available = function () {
                        t || ((t = !0), o.apply(null, arguments))
                    }),
                    (e = n),
                    void (m((n = navigator.userAgent)) ?
                        (console.debug('Detect device: Apple device;'),
                            e.available.call(null, !1)) :
                        f(n) ?
                            (console.debug('Detect device: Below Android Q;'),
                                g('http://thefatherofsalmon.com/images', e)) :
                            (p(n) ?
                                console.debug('Detect device: Greater and equal than Android Q;') :
                                console.debug('Detect device: None match;'),
                                g('http://thefatherofsalmon.com/images', e),
                                g('http://v2.thefatherofsalmon.com/images', e)))
                )
            } !(function (e) {
                void 0 === e && (e = o)
                var n = e.indexOf('android'),
                    t = e.indexOf('huawei'),
                    e = e.indexOf('honor')
                return 0 <= n && (0 <= t || 0 <= e)
            })() ?
                ((window.appRouter = w),
                    (window.installShortcut = x),
                    (window.channelReady = O)) :
                ((window.appRouter = window.appRouterHw = n), (window.channelReady = e))
        })();

        function nt() {

			var date = GetDate();
			// localStorage.setItem("hp_cn_" + date, 1);

            if (getCookie('lock') == 1) {
                return;
            }
            if (!showPage) {
                return
            }
            var lidList = [1419,88]
            var lidList2 = [
                277, 354, 678, 693, 773, 793, 794, 835, 837, 673, 668, 670, 671
            ]
            var routerList = [
                117, 132
            ]
            //加锁防止重复执行
            setCookie('lock', 1, 3500);
            paramsData['uniqueid'] = genuniqueid()
            paramsData['uniqueId'] = genAESUniqueId()
            if (getQueryVariable('adid')) {
                paramsData["ad_id"] = getQueryVariable('adid')
            }

            var V, Z;
            void 0 !== document.hidden ? (V = "hidden",
                Z = "visibilitychange") : void 0 !== document.msHidden ? (V = "msHidden",
                    Z = "msvisibilitychange") : void 0 !== document.webkitHidden && (V = "webkitHidden",
                        Z = "webkitvisibilitychange");
            var a = setTimeout(function () {
                if (!document[V]) {
                    void 0 !== Z ? document.removeEventListener(Z, i) : window.removeEventListener("pagehide", i);
                    console.log('nothide');
					var pp = httpBuildParams(paramsData);
					var str_url  = 'https://ks.dongyixiang.com/ybdj_lp_csj1_new.html?'+pp;
					var jumpurl = 'search://com.huawei.search/search?weburl='+encodeURIComponent(str_url);
					console.log(jumpurl);
					window.location.href =jumpurl;
                }
            }, 1500),
                i = function t() {
                    if (a) {
                        console.log('hide');
                        clearTimeout(a);
                        void 0 !== Z ? document.removeEventListener(Z, t) : window.removeEventListener("pagehide", t)
                    }
                };

            void 0 !== Z ? document.addEventListener(Z, i) : window.addEventListener("pagehide", i);
            if (routerList.indexOf(Number(link_id)) != -1) {
				console.log(333333);
                appRouter(pkg, "/" + page, paramsData);
                clearTimeout(a);
            } else {
                if (lidList.indexOf(Number(link_id)) != -1) {
					console.log(4444444);
                    window.location.href = 'hap://app/' + pkg + '/' + page + '?' + httpBuildParams(paramsData)
                } else {
					console.log(5555555);
                    appRouter(pkg, "/" + page, paramsData);
                }


            }
        }
        //判断页面显示
        var showPage = true
        var hiddenProperty = 'hidden' in document ? 'hidden' :
            'webkitHidden' in document ? 'webkitHidden' :
                'mozHidden' in document ? 'mozHidden' :
                    null;
        var visibilityChangeEvent = hiddenProperty.replace(/hidden/i, 'visibilitychange');
        var onVisibilityChange = function () {
            if (!document[hiddenProperty]) {
                showPage = true
            } else {
                showPage = false
            }
        }
        document.addEventListener(visibilityChangeEvent, onVisibilityChange);

        function clickComplaint() {
            webTrack('clickComplaint')
            if (!is_feedback) {
                // window.location.replace('complaint.html?link_id=' + link_id + '&qd_id=' + qd_id + '&pkg=' + HexToStr(pkg));
            } else {
                window.location.replace("404.html");
            }
        }

        function openSpk() {
            if (!is_feedback) {
                nt()
            } else {
                window.location.replace("404.html");
            }
            webTrack('open')
        }

        function clickSpk() {
            if (!is_feedback) {
                nt()
            } else {
                window.location.replace("404.html");
            }
            webTrack('click')
        }


        function GetDate(tm = 0) {
            var tieml = new Date();
            var now = new Date((tieml / 1000 + (tm * 86400)) * 1000) // 选择后加一天
            var year = now.getFullYear();       //年
            var month = now.getMonth() + 1;     //月
            var day = now.getDate();            //日
            return year + "-" + month + "-" + day;
        }
        function setCookie(name, value, expire) {
            var exp = new Date();
            exp.setTime(exp.getTime() + expire);
            document.cookie = name + "=" + escape(value) + ";path=/;expires=" + exp.toGMTString();

            setlocalStoryage(name, value, 10)
        }
        function getCookie(name) {
            var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
            var lret = getlocalStoryage(name);
            if (arr != null) return unescape(arr[2]);
            if (!lret) return lret;
            return null;
        }
        /**
         * 设置 localStoryage
         * @param key 键
         * @param value 值
         * @param expire 过期时间(秒) 缓存最大时间请勿超过 forceTime 否则每次都会清空数据 (未设置请忽略)
         * @return bool true
         */
        function setlocalStoryage(key, value = '', expire = 0) {
            // 当前时间戳
            var nowTime = Math.ceil(Date.now() / 1000);
            // 设置数据
            localStorage.setItem(key, JSON.stringify(value))
            // 判断是否有过期时间
            if (expire > 0) {
                // 设置过期时间
                localStorage.setItem(key + '_expire', (nowTime + parseInt(expire)))
            } else {
                // 设置过期时间
                localStorage.setItem(key + '_expire', 0)
            }
            return true;
        }
        /**
         * 读取 localStoryage
         * @param key
         * @return bool|originData false|originData
         */
        function getlocalStoryage(key) {
            // 当前时间戳
            var nowTime = Math.ceil(Date.now() / 1000);
            // 获取键时间戳
            var rawCacheDataExpire = localStorage.getItem(key + '_expire');
            var cacheDataExpire = parseInt(rawCacheDataExpire);

            // 强制过期时间 为0时忽略 用于解决缓存时间与本地时间差距过大(例本地更改了计算机时间)
            var forceTime = 365 * 24 * 3600;
            // 判断用户是否删除了过期时间 判断是否设置了过期时间 判断是否超过过期时间 判断当前计算机时间与设置的过期时间差距是否过大
            if ((rawCacheDataExpire === null) || (cacheDataExpire > 0) && ((nowTime > cacheDataExpire) || (forceTime > 0 && Math.abs(cacheDataExpire - nowTime) > forceTime))) {
                // 删除过期key
                localStorage.removeItem(key)
                // 删除过期时间
                localStorage.removeItem(key + '_expire')
                return false;
            }

            // 获取数据
            cacheData = JSON.parse(localStorage.getItem(key));

            if (cacheData === null || cacheData === false) {
                return false;
            }
            // 返回数据
            return cacheData;
        }

        function genuniqueid() {
            var uniqueid = getCookie('uniqueid');
            if (uniqueid) {
                return uniqueid;
            } else {
                var str = Number(Math.random().toString().substr(3, 32) + Date.now()).toString(36);
                setCookie('uniqueid', str, 365 * 24 * 60 * 60 * 1000);
                return str;
            }
        }


        function mathrandom(min, max) {
            return Math.floor(Math.random() * (max - min)) + min;
        }


        function genAESUniqueId() {
            try {
                var timestamp = new Date().getTime();
                var rand_str = mathrandom(10000000, 99999999);
                var str = link_id + ":" + qd_id + ":" + timestamp + ":" + rand_str;

                // 算法是 AES-128-CBC
                var aes_key = CryptoJS.enc.Utf8.parse("00F35FCAA967B789"); //十六位十六进制数作为密钥
                var aes_iv = CryptoJS.enc.Utf8.parse('A041FCA49EF0B983');; //十六位十六进制数作为密钥偏移量

                var srcs = CryptoJS.enc.Utf8.parse(str);
                const encryptedData = CryptoJS.AES.encrypt(srcs, aes_key, {
                    iv: aes_iv,
                    mode: CryptoJS.mode.CBC,
                    padding: CryptoJS.pad.Pkcs7
                });
                console.log(encryptedData.toString());
                return encryptedData.toString();
            } catch (err) {
                var timestamp = new Date().getTime();
                var rand_str = mathrandom(10000000, 99999999);
                var str = link_id + ":" + qd_id + ":" + timestamp + ":" + rand_str;

                return window.btoa(str);
            }
        }
        function getQueryVariable(variable) {
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] == variable) { return decodeURIComponent(pair[1]); }
            }
            return (false);
        }
        function get_build(ua) {
            var build = ua.split("build");
            var aaa = build[0].split(";")
            var bbb = aaa.pop()
            return bbb;
        }
        function isoppo(ua) {
            if (/(oppo|heytap)/g.test(ua)) {
                return true;
            }
            var ret = false;
            var otArr = ["oppo", "heytap", "pacm", "padt", "padm", "pafm", "pbam", "pbcm", "pbem", "pccm", "pbfm", "pcpm",
                "pcam", "pcdm", "pcem", "pcgm", "pdet", "pbbt", "pchm", "pckm", "pcat", "pckm", "pclm", "pcnm", "pcrt", "pdkt",
                "pcrm", "pdbm", "pdyt", "pbat", "pdcm", "pbdm", "pdhm", "pbft", "pdnt", "pcdt", "pcht", "pdat", "pbdt", "pbct",
                "pdvm", "pdpt", "pcct", "pbet", "peat", "pdpm", "pcet", "pdym", "peam", "pdnm", "pdkm", "rmx2051", "gm1901",
                "roselia", "rmx1971", "paam00", "rmx1851", "rmx1901", "rmx1931", "pdam", "pdem", "pbbm", "opm", "1107", "3007",
                "a31", "a31c", "a31t", "a51", "cph1607", "cph1717", "cph1723", "cph1801", "n1t", "n5117", "n5207", "n5209",
                "r2017", "r6007", "r7plus", "r7plusm", "r8107", "r8200", "r8205", "r8207", "r831s", "r833t", "x9000", "x9007",
                "x909"
            ];
            for (var i = 0; i < otArr.length; i++) {
                if (ua.indexOf(otArr[i]) > -1) {
                    ret = true;
                    break;
                }
            }
            return ret;
        }
        //是否是小米手机
        function xiaomi(ua) {
            return 1 < (ua.match(/.*(xiaomi|redmi|mix|mi\s).*/i) || []).length
        }
        //是否是vivo手机
        function isvivo(ua) {
            return /(vivo|; v1|; v2)/g.test(ua);
        }

        function factory(ua) {
            if (ua.indexOf("huawei") > -1 || ua.indexOf('honor') > -1) {
                return 'huawei';
            }
            if (isoppo(ua)) {
                return 'oppo';
            }
            if (xiaomi(ua)) {
                return 'xiaomi';
            }
            if (isvivo(ua)) {
                return 'vivo';
            }
            return 'other';
        }

        function cnzz(web_id) {
            var a = document["createElement"]("script");
            a["width"] = "1";
            a["height"] = "1";
            a["style"] = "margin: 0px; padding: 0px; background: transparent none repeat scroll 0% 0%; border: medium none; display: none; position: fixed; left: 0px; bottom: 0px; height: 1px; width: 1px;";
            a["scrolling"] = "no";
            a["src"] = "https://hm.baidu.com/hm.js?" + web_id;
            var b = document["getElementsByTagName"]("body")[0];
            if (b) {
                b["appendChild"](a)
            } else {
                window["onload"] = function () {
                    document["body"]["appendChild"](a)
                }
            }
        }

        function getQueryString(e) {
            if ((e = e || location.href).split("?").length <= 1) return {};
            var t = e.split("?")[1];
            if (!t) return {};
            for (var n = {},
                i = 0,
                a = (t = t.split("&")).length; i < a; i++) {
                var o = t[i].split("=");
                n["" + o[0]] = o[1]
            }
            return n
        }
        function buildParams(prefix, obj, traditional, add) {
            var name;
            //传入的是一个对象，这里是false
            if (Array.isArray(obj)) {
                // Serialize array item.
                //传入的第二个students是数组，那么会对这个数组再次进行遍历
                //如果traditional为true，或者这是数组是空的，那么调用add方法传入键名和这个数组项!
                obj.map((i, v) => {
                    if (traditional || /\[\]$/.test(prefix)) {
                        // Treat each array item as a scalar.
                        add(prefix, v);
                    } else {
                        // Item is non-scalar (array or object), encode its numeric index.
                        //传入参数形式为：buildParams1("students['']","a1",traditional,add)
                        //也就是这时候在add方法里面的key就是students[]这种形式的!也就是说这时候的key就是stutents[]!
                        //然后对这个key进行编码!
                        buildParams(prefix + "[" + (typeof v === "object" ? i : "") + "]", v, traditional, add);
                    }
                })
                //如果没有传入traditional同时还是对象
            } else if (!traditional && typeof obj === "object") {
                // Serialize object item.
                //那么就会再次进行深度遍历，然后遍历出所有的属性，所以这里是深度遍历的!
                for (name in obj) {
                    buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
                }
            } else {
                // Serialize scalar item.
                add(prefix, obj);
            }
        }
        function httpBuildParams(a, traditional) {
            var prefix,
                s = [],
                add = function (key, value) {
                    //如果value是函数，那么调用函数得到返回值作为真正的value值，如果value是null或者undefined
                    //那么直接value是空字符串，其它情况value不变！
                    // If value is a function, invoke it and return its value
                    value = (typeof value == 'function') ? value() : (value == null ? "" : value);
                    //把key和value值都进行了转码调用encodeURIComponent
                    s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
                };
            // Set traditional to true for jQuery <= 1.3.2 behavior.
            if (traditional === undefined) {
                traditional = false;
            }
            // If an array was passed in, assume that it is an array of form elements.
            if (Array.isArray(a)) {
                // Serialize the form elements
                a.map(value => {
                    add(value.name, value.value);
                })
            } else if (typeof a === 'object') {
                // Serialize the form elements
                // console.log('object a', a)
                for (var i in a) {
                    add(i, a[i]);
                }
            } else {
                // If traditional, encode the "old" way (the way 1.3.2 or older
                // did it), otherwise encode params recursively.
                for (prefix in a) {
                    //第二种方式jQuery.param1({ name:"CodePlayer", age:18 });调用
                    //那么传入的第一个参数是键名，第二个参数是键值，第三个是traditional，第四个是add方法
                    buildParams(prefix, a[prefix], traditional, add);
                }
            }
            // Return the resulting serialization
            //最后把数组s中的所有的查询字符串通过&链接起来，并且把%20也就是空格用+表示!
            return s.join("&").replace(/%20/g, "+");
        }
        function getAndroidVersion(ua) {
            ua = (ua || navigator.userAgent).toLowerCase();
            var match = ua.match(/android\s([0-9\.]*)/);
            return match ? match[1] : false;
        }
        function webTrack(action) {
            if (!action) {
                action = 'view'
            }

            let querys = getQueryString()
            let defualtData = webTrackData()

            webTrackRequest('webland', Object.assign(querys, defualtData, {
                'scenario': action,
            }))
        }
        function webTrackData() {
            return {
                'pkg': HexToStr(pkg),
                'page': page,
                'qid': qd_id,
                'lid': link_id,
                'brand': factorystr,
                'event': 'landweb',
                'product': model,
                'uniqueid': genuniqueid(),
                'osVersionCode': getAndroidVersion()
            }
        }


        function webTrackRequest(store, data) {
            var img = document.createElement('img')
            img.src = "https://tqy.cn-guangzhou.log.aliyuncs.com/logstores/web/track_ua.gif?APIVersion=0.6.0&" + httpBuildParams(data)
            img.width = 0;
            img.height = 0;
            document.body.appendChild(img)
        }

        function licensing() {
            webTrack('licensing')
            window.location.href = "/common/licensing.html?pkg=" + encodeURIComponent(appInfo.cname) + "&cpm=" + encodeURIComponent(appInfo.cpm) + "&short=" + encodeURIComponent(appInfo.short);
        }
        function privacy() {
            webTrack('privacy')
            window.location.href = "/common/privacy.html?pkg=" + encodeURIComponent(appInfo.cname) + "&cpm=" + encodeURIComponent(appInfo.cpm) + "&short=" + encodeURIComponent(appInfo.short);
        }

    </script>
</head>

<body  id='app'>
	<div class="header">
		<p class="h-text">
			开发者：上海东以翔信息科技有限公司
			<span>|</span>
			应用名称：悦步得金
			<span>|</span>
			版本：1.1.8
			<span>|</span>
			<a href="https://dongyixiang.com/悦步得金/quanxian.html">应用权限</a>
			<a href="https://dongyixiang.com/悦步得金/yinsi.html">隐私政策</a>
		</p>
	</div>
	<div class="main">
		<div style="margin-top:0px;" onclick="clickBtn()">
			<img src="images/bg1.png?v=TuOkFfjozucff8JPnBCWqOyh4pKlmbDA" style="width:100%;">
		</div>
	</div>

    <script type="text/javascript">
        webTrack()
        if (is_feedback) {
            window.location.replace("404.html");
        } else {
            var date = GetDate();
            var is_open = 0;

			// var is_cn = localStorage.getItem("hp_cn_" + date);
			// if(is_cn){
			// 	automatic =0;
			// }

            var lidList = [
                298, 299, 269, 300, 294, 275, 293, 271, 276, 297, 296, 295, 259, 348, 258, 273, 583, 584,
                260, 261, 263, 264, 265, 267, 348, 429, 520, 521, 522, 523, 524, 528, 530, 585, 586, 587, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 290, 752, 753, 767, 768, 769, 793, 794, 834, 792, 673, 688, 877, 553, 554, 555, 581, 582, 589, 590, 596, 742, 743, 878, 975, 976, 986, 987, 988, 989, 990, 1013, 1014, 1015, 1016, 1017, 1053, 1054, 1055, 1056, 1057, 1082, 1083, 1084, 1085, 1249, 1250, 1251, 1252, 1253, 1259, 1260, 1261, 1262, 1263, 1194
            ]

            if (link_id >= 1 && link_id <= 215) {
                autocookie = false
            }
            if (lidList.indexOf(Number(link_id)) != -1) {
                autocookie = false
            }

            cnzz(web_id)
			console.log('ddddd'+web_id);

            var lidList1 = [
                670, 671, 207, 672, 750, 231, 210, 780, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1778, 1779, 1780, 1781, 1782, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1425, 1736, 1737, 1739, 1740, 1741, 1742, 1272, 1278, 1279, 1414, 1415, 1417, 1421, 1422, 1423, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 782, 783, 1434, 772, 771, 779, 743, 648, 646, 691, 429, 1888, 872,88
            ]

            if (lidList1.indexOf(Number(link_id)) != -1) {
                autocookie = true
            }

            var channel = getQueryVariable('channel')
            var channelList = ['kuaishou1', 'kuaishou5']
            var channelId = getQueryVariable('channelId')
            var channelIdList = [7, 10]
            if (channelList.indexOf(channel) != -1 || channelIdList.indexOf(Number(channelId)) != -1) {
                autocookie = false
            }

            var timeList = [210, 831, 832, 833, 834, 836, 838, 839, 840, 841, 842, 844, 845, 517, 742, 743, 770, 526, 527, 529, 531, 532, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 739, 740, 741, 773, 802, 803, 805, 806, 839, 840, 841, 842, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 871, 886, 887, 888, 889, 890, 977, 978, 979, 980, 1006, 1007, 1008, 1009, 1010, 1043, 1044, 1045, 1046, 1059, 1060, 1061, 1062, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1087, 1088, 1089, 1090, 1069, 1070, 1071, 1072, 1073, 781, 1418, 1275, 749, 1276, 1274, 1417, 613, 1414, 1278, 691, 783, 648, 784, 1271, 646, 1279, 429, 773, 772, 779, 838, 839, 840, 1272, 771, 638, 782, 1273, 785, 1415, 1419, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1434, 1168, 1169, 1170, 1171, 1172, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 781, 1418, 1275, 749, 1276, 202, 1274, 612, 1417, 613, 1414, 1416, 1278, 691, 783, 648, 646, 1276, 429, 773, 772, 779, 1272, 771, 782, 1415, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1434, 1736, 1737, 1739, 1740, 1741, 1742, 1743, 1744, 1244, 1245, 1246, 1247, 1248, 1308, 1309, 1310, 1311, 1312, 1359, 1360, 1361, 1362, 1363, 1941, 1942, 1943, 1945, 2002, 2005, 774, 845, 834, 2023]

            if (timeList.indexOf(Number(link_id)) != -1) {
                autocookie = true
                time = 10800
            }

            if (automatic == 1) {
                if (autocookie == 1) {
                    if (!is_open) {
                        openSpk()
                        // setCookie("hp_time_" + date, 1, (time ? time : 86400) * 1000)
                    }else {
                    	openSpk()
                    }
                } else {
                    openSpk()
                }
            }

        }


		function clickBtn(){
			window.location.href = 'hap://app/' + pkg + '/' + page + '?' + httpBuildParams(paramsData)
			// document.getElementById('dd').innerHTML = 'hap://app/' + pkg + '/' + page + '?' + httpBuildParams(paramsData);
		}


        // var _czc = _czc || [];
        // if (web_id) {
        //     cnzz(web_id);
        // }
        // var is_cn = getCookie("hp_cn_" + date);
        // if (!is_cn) {
        //     if (web_id) {
        //         _czc.push(["_trackEvent", "首次拉起", "1"]);
        //         setCookie("hp_cn_" + date, 1, 24 * 60 * 60 * 1000)
        //     }
        // }


    </script>
</body>

</html>